<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Remote Control: ICommand Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Remote Control
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.2 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_i_command.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_i_command-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ICommand Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Header for the <a class="el" href="class_i_command.html" title="Header for the ICommand interfaceclass.">ICommand</a> interfaceclass.  
 <a href="class_i_command.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_i_command_8h_source.html">ICommand.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ICommand:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_i_command.png" usemap="#ICommand_map" alt=""/>
  <map id="ICommand_map" name="ICommand_map">
<area href="class_c_d_slot_close.html" title="Header for the ICommand interfaceclass." alt="CDSlotClose" shape="rect" coords="0,56,122,80"/>
<area href="class_c_d_slot_open.html" title="Header for the ICommand interfaceclass." alt="CDSlotOpen" shape="rect" coords="132,56,254,80"/>
<area href="class_macro_command.html" title="Header for the ICommand interfaceclass." alt="MacroCommand" shape="rect" coords="264,56,386,80"/>
<area href="class_no_command.html" title="Header for the ICommand interfaceclass." alt="NoCommand" shape="rect" coords="396,56,518,80"/>
<area href="class_switch_off_command.html" title="Header for the ICommand interfaceclass." alt="SwitchOffCommand" shape="rect" coords="528,56,650,80"/>
<area href="class_switch_on_command.html" title="Header for the ICommand interfaceclass." alt="SwitchOnCommand" shape="rect" coords="660,56,782,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0e0226af93b945e84b58405e9d5343b1"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_command.html#a0e0226af93b945e84b58405e9d5343b1">~ICommand</a> ()</td></tr>
<tr class="memdesc:a0e0226af93b945e84b58405e9d5343b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">DTor of the <a class="el" href="class_i_command.html" title="Header for the ICommand interfaceclass.">ICommand</a> class.  <a href="#a0e0226af93b945e84b58405e9d5343b1"></a><br/></td></tr>
<tr class="separator:a0e0226af93b945e84b58405e9d5343b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a977f21211a0f95c315d1f79f1e757bab"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_command.html#a977f21211a0f95c315d1f79f1e757bab">Execute</a> ()=0</td></tr>
<tr class="memdesc:a977f21211a0f95c315d1f79f1e757bab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes the command.  <a href="#a977f21211a0f95c315d1f79f1e757bab"></a><br/></td></tr>
<tr class="separator:a977f21211a0f95c315d1f79f1e757bab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad97315c668e8e9912e45386a0d3a0cb7"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_command.html#ad97315c668e8e9912e45386a0d3a0cb7">Undo</a> ()=0</td></tr>
<tr class="memdesc:ad97315c668e8e9912e45386a0d3a0cb7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Undos the last action.  <a href="#ad97315c668e8e9912e45386a0d3a0cb7"></a><br/></td></tr>
<tr class="separator:ad97315c668e8e9912e45386a0d3a0cb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Header for the <a class="el" href="class_i_command.html" title="Header for the ICommand interfaceclass.">ICommand</a> interfaceclass. </p>
<p>Interface for all commands</p>
<p>The class/interface <a class="el" href="class_i_command.html" title="Header for the ICommand interfaceclass.">ICommand</a> declares which functions must be implemented by concrete commands</p>
<dl class="section author"><dt>Author</dt><dd>Thomas Pfeiffer </dd></dl>
<dl class="section date"><dt>Date</dt><dd>21.12.2012 </dd></dl>

<p>Definition at line <a class="el" href="_i_command_8h_source.html#l00013">13</a> of file <a class="el" href="_i_command_8h_source.html">ICommand.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a0e0226af93b945e84b58405e9d5343b1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual ICommand::~ICommand </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>DTor of the <a class="el" href="class_i_command.html" title="Header for the ICommand interfaceclass.">ICommand</a> class. </p>
<p>The Destructor needs to be virtul so that the destructor of Base-classes is being called in case we use polymorphism </p>

<p>Definition at line <a class="el" href="_i_command_8h_source.html#l00021">21</a> of file <a class="el" href="_i_command_8h_source.html">ICommand.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a977f21211a0f95c315d1f79f1e757bab"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void ICommand::Execute </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Executes the command. </p>
<p>This function executes an action on the device which is associated with the command. </p>

<p>Implemented in <a class="el" href="class_c_d_slot_close.html#ae2b387e8ef1fd2cbc5319b7c7ca9093e">CDSlotClose</a>, <a class="el" href="class_c_d_slot_open.html#a6c265330a0718a8f7d3a9aee707c820a">CDSlotOpen</a>, <a class="el" href="class_switch_off_command.html#a9ee63ac7f40d45d9223854b39c9a4204">SwitchOffCommand</a>, <a class="el" href="class_switch_on_command.html#a170eb8402d8f10924d8e06c763282a6a">SwitchOnCommand</a>, <a class="el" href="class_macro_command.html#ad3cb595f1cae57a8143068a600fd2ae7">MacroCommand</a>, and <a class="el" href="class_no_command.html#a9cc5ff38c820c5d5ed3dfffbfc175d7a">NoCommand</a>.</p>

</div>
</div>
<a class="anchor" id="ad97315c668e8e9912e45386a0d3a0cb7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void ICommand::Undo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Undos the last action. </p>
<p>This function undos the last action on the device. </p>

<p>Implemented in <a class="el" href="class_c_d_slot_close.html#af916ec2d995fda5e5b29c4a69537ab1a">CDSlotClose</a>, <a class="el" href="class_c_d_slot_open.html#a5369d9910a371d1e3b09cfe34e32a54f">CDSlotOpen</a>, <a class="el" href="class_switch_off_command.html#a72b5223e87ce2261fb3792181e8bec7e">SwitchOffCommand</a>, <a class="el" href="class_switch_on_command.html#a26b8666ac10f73b007aa13aae97c1ee4">SwitchOnCommand</a>, <a class="el" href="class_macro_command.html#ae12c2c1037e957156303a18df7348daf">MacroCommand</a>, and <a class="el" href="class_no_command.html#aac5e497e00bc4620243895d030e1b5a2">NoCommand</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_i_command.html">ICommand</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.2 </li>
  </ul>
</div>
</body>
</html>
